package org.daochong.uai.httpclient;

public class HttpClientConfiguration {

	private String root;
	private String defaultEncoding = null;
	private int connectTimeout = 0;
	private boolean useCaches = false;

	private boolean authServer = false;
	private boolean authClient = false;
	private boolean validataHost = false;
	private boolean utfEncode = false;
	private String trustStorePath;
	private String trustStorePassword;
	private String trustStoreType;
	private String trustStoreProvider;

	private String keyStorePath;
	private String keyStorePassword;
	private String keyStoreType;
	private String keyStoreProvider;
	private String keyStoreAlgorithm = "SunX509";

	public int getConnectTimeout() {
		return connectTimeout;
	}

	public void setConnectTimeout(int connectTimeout) {
		this.connectTimeout = connectTimeout;
	}

	public boolean isUseCaches() {
		return useCaches;
	}

	public void setUseCaches(boolean useCaches) {
		this.useCaches = useCaches;
	}

	public boolean isAuthServer() {
		return authServer;
	}

	public void setAuthServer(boolean authServer) {
		this.authServer = authServer;
	}

	public boolean isAuthClient() {
		return authClient;
	}

	public void setAuthClient(boolean authClient) {
		this.authClient = authClient;
	}

	public boolean isValidataHost() {
		return validataHost;
	}

	public void setValidataHost(boolean validataHost) {
		this.validataHost = validataHost;
	}

	public boolean isUtfEncode() {
		return utfEncode;
	}

	public void setUtfEncode(boolean utfEncode) {
		this.utfEncode = utfEncode;
	}

	public String getTrustStorePath() {
		return trustStorePath;
	}

	public void setTrustStorePath(String trustStorePath) {
		this.trustStorePath = trustStorePath;
	}

	public String getTrustStorePassword() {
		return trustStorePassword;
	}

	public void setTrustStorePassword(String trustStorePassword) {
		this.trustStorePassword = trustStorePassword;
	}

	public String getTrustStoreType() {
		return trustStoreType;
	}

	public void setTrustStoreType(String trustStoreType) {
		this.trustStoreType = trustStoreType;
	}

	public String getTrustStoreProvider() {
		return trustStoreProvider;
	}

	public void setTrustStoreProvider(String trustStoreProvider) {
		this.trustStoreProvider = trustStoreProvider;
	}

	public String getKeyStorePath() {
		return keyStorePath;
	}

	public void setKeyStorePath(String keyStorePath) {
		this.keyStorePath = keyStorePath;
	}

	public String getKeyStorePassword() {
		return keyStorePassword;
	}

	public void setKeyStorePassword(String keyStorePassword) {
		this.keyStorePassword = keyStorePassword;
	}

	public String getKeyStoreType() {
		return keyStoreType;
	}

	public void setKeyStoreType(String keyStoreType) {
		this.keyStoreType = keyStoreType;
	}

	public String getKeyStoreProvider() {
		return keyStoreProvider;
	}

	public void setKeyStoreProvider(String keyStoreProvider) {
		this.keyStoreProvider = keyStoreProvider;
	}

	public String getKeyStoreAlgorithm() {
		return keyStoreAlgorithm;
	}

	public void setKeyStoreAlgorithm(String keyStoreAlgorithm) {
		this.keyStoreAlgorithm = keyStoreAlgorithm;
	}

	public String getDefaultEncoding() {
		return defaultEncoding;
	}

	public void setDefaultEncoding(String defaultEncoding) {
		this.defaultEncoding = defaultEncoding;
	}

	public String getRoot() {
		return root;
	}

	public void setRoot(String root) {
		this.root = root;
	}

}
